package com.linxiao.payment.web.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付接口配置参数对象 pay_interface_config
 * 
 * @author ruoyi
 * @date 2024-01-25
 */
public class PayInterfaceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商户号 */
    @Excel(name = "商户号")
    private Long mchId;

    /** 支付渠道商户号 */
    @Excel(name = "支付渠道商户号")
    private String channelMchId;

    /** 支付接口代码 */
    @Excel(name = "支付接口代码")
    private String ifCode;

    /** 接口配置参数,json字符串 */
    @Excel(name = "接口配置参数,json字符串")
    private String ifParams;

    /** 支付接口费率 */
    @Excel(name = "支付接口费率")
    private BigDecimal ifRate;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMchId(Long mchId) 
    {
        this.mchId = mchId;
    }

    public Long getMchId() 
    {
        return mchId;
    }
    public void setChannelMchId(String channelMchId) 
    {
        this.channelMchId = channelMchId;
    }

    public String getChannelMchId() 
    {
        return channelMchId;
    }
    public void setIfCode(String ifCode) 
    {
        this.ifCode = ifCode;
    }

    public String getIfCode() 
    {
        return ifCode;
    }
    public void setIfParams(String ifParams) 
    {
        this.ifParams = ifParams;
    }

    public String getIfParams() 
    {
        return ifParams;
    }
    public void setIfRate(BigDecimal ifRate) 
    {
        this.ifRate = ifRate;
    }

    public BigDecimal getIfRate() 
    {
        return ifRate;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mchId", getMchId())
            .append("channelMchId", getChannelMchId())
            .append("ifCode", getIfCode())
            .append("ifParams", getIfParams())
            .append("ifRate", getIfRate())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
